home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
BBS-Archive
/
Comm
/
AmiTCP30b2.lha
/
netinclude
/
grp.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-07
|
850b
|
36 lines
#ifndef GRP_H
#define GRP_H
/*
** $Filename: grp.h $
** $Release$
** $Revision: 3.3 $
** $Date: 1994/04/07 20:23:52 $
**
** Definitions of gid_t and group structure for 32 bit C compilers
**
** Copyright © 1993,1994 AmiTCP/IP Group, <AmiTCP-Group@hut.fi>
** Helsinki University of Technology, Finland.
** All rights reserved.
*/
#ifndef SYS_TYPES_H
#include <sys/types.h>
#endif
/* The group structure */
struct group {
char *gr_name; /* Group name. */
char *gr_passwd; /* Password. */
gid_t gr_gid; /* Group ID. */
char **gr_mem; /* Member list. */
};
struct group *getgrgid(gid_t gid);
struct group *getgrnam(const char * name);
void setgrent(void);
struct group *getgrent(void);
void endgrent(void);
#endif /* GRP_H */